var vueApp = new Vue({
    el: '#js-tab',
    data: {
        activeTabIndex: 0,
        columns: ["杭州", "宁波", "温州", "嘉兴", "湖州"],
          showPicker: false,
          selectVal: "请选择"
    },
    methods: {
        onTabChange: function(activeTabIndex) {
            this.activeTabIndex = activeTabIndex
        },
        togglePicker() {
          this.showPicker = !this.showPicker;
        },
        onConfirm(value, index) {
          console.log(value, index);
          this.selectVal = value;
          this.togglePicker();
        },
        onCancel() {
          this.togglePicker();
        }
    }
})
